import IpcParams from "@/ipc/IpcParams";
import DexieCtx from "@/utils/dexiectx";

import GramTgweb from "./memefi_tgweb";

export default class MemefiRunner {
  constructor(interval) {
    this.interval = interval ?? (1 * 10 * 1000 + 5000)
  }

  // run all accounts
  async start() {
    await window.tonwebAPI.invoke(new IpcParams("callMemefi", {}))
  }

  stop() {
    clearInterval(this.timer)
  }

  async run() {
    
  }
}